import { createApp } from 'vue'
import './assets/global.css'
import App from './App.vue'
import components from './components/global/index'
import Router from './router/index'
import { createPinia } from 'pinia'

const pinia = createPinia()
const app = createApp(App)
//app.config.productionTip = false

// components
for (const i in components) {
  app.component(i, components[i])
}

app.use(pinia).use(Router).mount('#app')
